package com.entity;
//1
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 借书记录表
 */

public class BorrowBooks {
    private Integer bNo;                       //编号
    private String bName;                  //书名
    private String uNo;                  //借书者编号
    private String uName;                  //借书者姓名
    private String author;                      //作者
    private String bTypeName;                  //类别
    private String press;                         //出版社
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String brTime;                     //借书时间
    private int remindTime;                          //剩余时间
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String returnTime;                        //还书时间
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String expectReturn ;                             //预期归还时间
    private Integer brNum;                            //已借次数
    private int bStatus;                                 //图书状态

//    private int lj;


    @Override
    public String toString() {
        return "BorrowBooks{" +
                "bNo=" + bNo +
                ", bName='" + bName + '\'' +
                ", uNo='" + uNo + '\'' +
                ", uName='" + uName + '\'' +
                ", author='" + author + '\'' +
                ", bTypeName='" + bTypeName + '\'' +
                ", press='" + press + '\'' +
                ", brTime='" + brTime + '\'' +
                ", remindTime=" + remindTime +
                ", returnTime='" + returnTime + '\'' +
                ", expectReturn='" + expectReturn + '\'' +
                ", brNum=" + brNum +
                ", bStatus=" + bStatus +
                '}';
    }

    public String getuNo() {
        return uNo;
    }

    public void setuNo(String uNo) {
        this.uNo = uNo;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public Integer getbNo() {
        return bNo;
    }

    public void setbNo(Integer bNo) {
        this.bNo = bNo;
    }

    public String getbName() {
        return bName;
    }

    public void setbName(String bName) {
        this.bName = bName;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getbTypeName() {
        return bTypeName;
    }

    public void setbTypeName(String bTypeName) {
        this.bTypeName = bTypeName;
    }

    public String getPress() {
        return press;
    }

    public void setPress(String press) {
        this.press = press;
    }

    public String getBrTime() {
        return brTime;
    }

    public void setBrTime(String brTime) {
        this.brTime = brTime;
    }

    public int getRemindTime() {
        return remindTime;
    }

    public void setRemindTime(int remindTime) {
        this.remindTime = remindTime;
    }

    public String getReturnTime() {
        return returnTime;
    }

    public void setReturnTime(String returnTime) {
        this.returnTime = returnTime;
    }

    public String getExpectReturn() {
        return expectReturn;
    }

    public void setExpectReturn(String expectReturn) {
        this.expectReturn = expectReturn;
    }

    public Integer getBrNum() {
        return brNum;
    }

    public void setBrNum(Integer brNum) {
        this.brNum = brNum;
    }

    public int getbStatus() {
        return bStatus;
    }
    public void setbStatus(int bStatus) {
        this.bStatus = bStatus;
    }
}
